import { DefaultLayout } from '@/components/Layout'
import TokenConfigPage from '@/components/login/TokenConfig/page/index.vue'
import TokenConfigRefPage from '@/components/login/TokenConfigRef/page/index.vue'
import MfaPage from '@/components/login/Mfa/page/index.vue'
import LoginLogPage from '@/components/login/LoginLog/page/index.vue'
import PasswordResetRequestPage from '@/components/login/PasswordResetRequest/page/index.vue'

export default {
  path: '',
  meta: {
    title: '登录管理',
  },
  component: DefaultLayout,
  children: [
    {
      path: '/login/TokenConfig/page',
      component: TokenConfigPage,
      meta: {
        title: '令牌配置',
      },
    },
    {
      path: '/login/TokenConfigRef/page',
      component: TokenConfigRefPage,
      meta: {
        title: '令牌配置关联',
      },
    },
    {
      path: '/login/Mfa/page',
      component: MfaPage,
      meta: {
        title: '多因子',
      },
    },
    {
      path: '/login/LoginLog/page',
      component: LoginLogPage,
      meta: {
        title: '登录日志',
      },
    },
    {
      path: '/login/PasswordResetRequest/page',
      component: PasswordResetRequestPage,
      meta: {
        title: '密码重置请求',
      },
    },
  ],
}
